﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteIntranet.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    BuscarMantenimientoPreventivo
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Búsqueda Mantenimiento Preventivo</h2><br />
    <link rel="stylesheet" href="<%: Url.Content("~/Content/jquery-ui.css") %>" />
    <link href="<%: Url.Content("~/Content/jquery.ui.timepicker.css") %>" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="<%: Url.Content("~/Content/jPages.css") %>" />
    <script type="text/javascript" src="<%: Url.Content("~/Scripts/jPages.js") %>"></script>

    <script type="text/javascript" src="<%: Url.Content("~/Scripts/Validaciones.js") %>" type="text/javascript"></script>
    <script type="text/javascript" src="<%: Url.Content("~/Scripts/MantenimientoPreventivo.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery.ui.timepicker.js") %>" type="text/javascript"></script>

<div id="dialog-form-modificar" title="MODIFICAR MANTENIMIENTO PREVENTIVO" class="dialog-form">
    <p class="validateTips">Modifique los campos que usted desee.</p>

    <label class="Obligatorio">Los campos con (*) son obligatorios</label><br></br>
     
    <label>Codigo Mant. Prev.</label>
    <input type="text" id="BvmTbxModificarMantPrev" class="text ui-widget-content ui-corner-all" readonly="readonly" style="width:325px"/><br></br>

    <label>Codigo Mantenible</label>
    <input type="text" id="BvmTbxModificarMantenible" class="text ui-widget-content ui-corner-all" readonly="readonly" style="width:325px"/><br></br>
    
    <label>Codigo Contrato</label>
    <input type="text" id="BvmTbxModificarContrato" class="text ui-widget-content ui-corner-all" readonly="readonly" style="width:325px""/><br></br>
    
    <label>Fecha</label>
    <input type="text" id="BvmTbxModificarFecha" class="text ui-widget-content ui-corner-all" readonly="readonly" style="width:325px"/><br></br>
    
    <label>Costo (*)</label>
    <input type="text" id="BvmTbxModificarCosto" class="text ui-widget-content ui-corner-all" style="width:325px"/>
    <label class="errorLabel" id="BvmLblErrorCosto"></label><br></br>

    <label>Descripción (*)</label>
    <textarea id="BvmTbxModificarDescripcion" class="text ui-widget-content ui-corner-all" rows="4" cols="30" style="width:325px;"></textarea>
    <%--<label class="errorLabel" id="errorDescripcionM"></label>--%>
    <br></br>
    
    <br></br>
</div>

<div id = "Buscar">
    <label>Edificio</label>
    <select id="BscSctEdificio" class="text ui-widget-content ui-corner-all">
    </select><br></br>

    <label>Proveedor</label>
    <select id="BscSctProveedor" onchange="cargarMantenibles()" class="text ui-widget-content ui-corner-all">
    </select><br></br>

    <label>Mantenible</label>
    <select id="BscScMantenible" name="BscScMantenible" class="text ui-widget-content ui-corner-all">
    </select><br></br>

    <label>Fecha Inicio</label>
    <input type="text" name="BscTbxFechaInicio" id="BscTbxFechaInicio" class="text ui-widget-content ui-corner-all" readonly="readonly" style="width:325px"/><br></br>
    <label>Fecha Fin</label>
    <input type="text" name="BscTbxFechaFin" id="BscTbxFechaFin" size="20" class="text ui-widget-content ui-corner-all" readonly="readonly" style="width:325px"/><br></br>
    
    <center>
        <input type="submit" id = "BscBtnBuscar" value="Buscar" class="submit-button" style="margin-left:auto; width:auto;"/>
        <input type="submit" id = "BscBtnCancelar" value="Cancelar" class="submit-button" style="margin-left:5px; width:auto;"/>
        <input type="submit" id = "BscBtnLimpiar" value="Limpiar" class="submit-button" style="margin-left:5px; margin-right:auto; width:auto;"/>
    </center>
    <br></br>
    <center>
        <div id = "TablaDinamicaBusqueda"></div>
        <div class="holder" id="holderBMP"></div>
    </center>
    <br></br>
    <center>
        <span id="Modificar"><input type="submit" id = "BscBtnModificar" value="Modificar" class="submit-button" style="margin-left:auto; width:auto;"/></span>
        <span id="Eliminar"><input type="submit" id = "BscBtnEliminar" value="Eliminar" class="submit-button" style="margin-left:5px; margin-right:auto; width:auto;"/></span><br></br>
    </center>
</div>

</asp:Content>
